<me:UIAPFOLGE x:Class="WPFExcelReport.TAPFOLGE"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT"  
                     xmlns:LS="clr-namespace:WPFExcelReport;assembly=TLIEFDAT"   
                     xmlns:DR="clr-namespace:WPFExcelReport;assembly=TDRAUFTR"  
                    xmlns:KS="clr-namespace:WPFExcelReport;assembly=TKSTSTELL" 
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization" 
                    xmlns:OP="clr-namespace:WPFExcelReport;assembly=TKSTAGZUO" 
               xmlns:ATK="clr-namespace:WPFExcelReport;assembly=TAPARTK" 
                    xmlns:ATE="clr-namespace:WPFExcelReport;assembly=TAPARTE"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIAPFOLGE.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:BoolToJNConverter x:Key="bjn"/>
        <ucd:NOTBoolToVisibilityConverter  x:Key="nbv"/>
        <ucd:NOTConverter x:Key="not"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:SDKEYCONV x:Key="sd"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIAPFOLGE.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="1*"></RowDefinition>
            <RowDefinition Height="1.5*"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition> 
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="1*"/> 
        </Grid.ColumnDefinitions>
        <TabControl Grid.Row="0" Grid.Column="0" >
            <TabItem Header="{Binding Source={Localization:Translate Word=步骤管理}}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"></RowDefinition>
                        <RowDefinition Height="1*"></RowDefinition> 
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="1*"/>
                        <ColumnDefinition Width="1*"/>
                    </Grid.ColumnDefinitions>
                    <StackPanel Grid.Row="0" Grid.Column="0"   >
                        <StackPanel  >
                            <WrapPanel>
                                <Button  Click="EditCommand" Width="24" Height="20" IsEnabled="{Binding IsCanChg,ElementName=TV}">
                                    <Button.Background>
                                        <ImageBrush  ImageSource="/ImagePackage;component/Images/Edit.png" />
                                    </Button.Background>
                                </Button>
                                <Button   Click="SaveCommand" Height="20" Margin="5,0,0,0" Width="24"  Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}">
                                    <Button.Background>
                                        <ImageBrush  ImageSource="/ImagePackage;component/Images/Save.png" />
                                    </Button.Background>
                                </Button>
                                <Grid Margin="10,0,0,0" VerticalAlignment="Top" 
                      IsEnabled="{Binding IsCanDelete,ElementName=TV}">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                                    </Grid.ColumnDefinitions>
                                    <Button Click="DeleteCommand" Height="20" Margin="5,0,0,0" Width="24" >
                                        <Button.Background>
                                            <ImageBrush  ImageSource="/ImagePackage;component/Images/Remove.png" />
                                        </Button.Background>
                                    </Button>
                                </Grid>
                                <WrapPanel Visibility="Collapsed">
                                    <Grid Margin="10,0,0,0" VerticalAlignment="Top" >
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                                        </Grid.ColumnDefinitions>
                                        <TextBlock FontSize="16"  Text="{Binding Source={Localization:Translate Word=流程}}"/>
                                        <ex:TXT72 Grid.Column="1" FontSize="16" MaxLength="2"   IsAutoClear="True" 
                              CharacterCasing="Upper" Text="{Binding KRS,ElementName=TV}" Width="30" />
                                        <ex:TXT72 Grid.Column="2" FontSize="16" Margin="5,0,0,0" MaxLength="4"  IsAutoClear="True" 
                              Text="{Binding LFD,ElementName=TV}" KeyUp="Query_KeyUp" Width="90" />
                                    </Grid>
                                    <Grid Margin="10,0,0,0"  VerticalAlignment="Top"   >
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                                            <ColumnDefinition Width="Auto"></ColumnDefinition>
                                        </Grid.ColumnDefinitions>
                                        <Button Grid.Column="0"  Click="QueryCommand" Height="20" Margin="5,0,0,0" Width="24" >
                                            <Button.Background>
                                                <ImageBrush  ImageSource="/ImagePackage;component/Images/Search.png" />
                                            </Button.Background>
                                        </Button>
                                        <TextBlock Grid.Column="2" FontSize="16" Text="{Binding Source={Localization:Translate Word=查询}}"/>
                                    </Grid>
                                </WrapPanel>
                                <WrapPanel>
                                    <WrapPanel >
                                        <TextBlock Grid.Column="1" FontSize="16"  
                                       Text="{Binding KRS,ElementName=TV}" Width="30" />
                                        <TextBlock Grid.Column="2" FontSize="16" Margin="5,0,0,0"  
                                      Text="{Binding LFD,ElementName=TV}"   Width="90" />
                                        <ex:TXT72  MaxLength="3" PRE="000" Width="60" Background="LightYellow"
                                      Text="{Binding POS,ElementName=TV}"  />
                                        <Grid Margin="10,0,0,0"  VerticalAlignment="Top" >
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="Auto"></ColumnDefinition>
                                                <ColumnDefinition Width="Auto"></ColumnDefinition>
                                                <ColumnDefinition Width="Auto"></ColumnDefinition>
                                            </Grid.ColumnDefinitions>
                                            <Button Grid.Column="0"  Click="NewCommand" Height="20" Margin="5,0,0,0" Width="24" >
                                                <Button.Background>
                                                    <ImageBrush  ImageSource="/ImagePackage;component/Images/Add.png" />
                                                </Button.Background>
                                            </Button>
                                        </Grid>
                                    </WrapPanel>
                                </WrapPanel>
                            </WrapPanel>
                        </StackPanel>
                        <WrapPanel>
                            <KS:TSKS03 Name="cKS03"
                            KST="{Binding KST,ElementName=TV}"
                            KSTKRS="{Binding KSTKRS,ElementName=TV}" 
                            IsEdit="{Binding IsEdit,ElementName=TV}"
                            />
                            <OP:TSKS05 EXAUF="{Binding KEY,ElementName=cKS03}"
                                     KEY="{Binding AGANG,ElementName=TV}" 
                                     IsEdit="{Binding IsEdit,ElementName=TV}"
                            />
                            <ex:TXT72 MaxLength="60" Text="{Binding APFBZAGANG,Converter={StaticResource gb2312}}" Width="200"/>
                        </WrapPanel>
                        <WrapPanel>
                            <CheckBox Margin="10,0,0,0" IsChecked="{Binding APFFERTIG,ElementName=TV,Converter={StaticResource bjn}}" 
                              Content="{Binding Source={Localization:Translate Word=转成品}}" />
                            <SD:K8876 Margin="10,0,0,0"
                         KEY="{Binding APFRUECKKZ,ElementName=TV}" 
                          ORDERNUM="{Binding APFRUECKKZ,ElementName=TV}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"
                          />
                            <SD:K8875 Margin="10,0,0,0"
                    KEY="{Binding APFKENNUNG,ElementName=TV}" 
                          ORDERNUM="{Binding APFKENNUNG,ElementName=TV}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"
                          />
                            <SD:K8874 Margin="10,0,0,0"
                    KEY="{Binding APFMATABR,ElementName=TV}" 
                          ORDERNUM="{Binding APFMATABR,ElementName=TV}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"
                          />
                            <SD:K0252 Margin="10,0,0,0"
                        KEY="{Binding APFZUSTAND,ElementName=TV}" 
                          ORDERNUM="{Binding APFZUSTAND,ElementName=TV}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"
                          />
                        </WrapPanel>
                        <WrapPanel>
                            <SD:K9158 Margin="10,0,0,0"
                    KEY="{Binding APFSTATKZ,ElementName=TV}"  
                          IsEdit="{Binding IsEdit,ElementName=TV}"/>
                            <SD:K9321 Margin="10,0,0,0"
                    KEY="{Binding APFZUSATZ,ElementName=TV}"  
                          IsEdit="{Binding IsEdit,ElementName=TV}"/>
                            <ex:TXT72 MaxLength="1" GotFocus="NR_GotFocus" Tag="1" Grid.Column="1"
                                  Text="{Binding APFZUSATZ1}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 MaxLength="1" GotFocus="NR_GotFocus" Tag="2" Grid.Column="1"
                                  Text="{Binding APFZUSATZ2}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 MaxLength="1" GotFocus="NR_GotFocus" Tag="3" Grid.Column="1"
                                  Text="{Binding APFZUSATZ3}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 MaxLength="1" GotFocus="NR_GotFocus" Tag="4" Grid.Column="1"
                                  Text="{Binding APFZUSATZ4}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />
                            <ex:TXT72 MaxLength="1" GotFocus="NR_GotFocus" Tag="5" Grid.Column="1"
                                  Text="{Binding APFZUSATZ5}" 
                              IsReadOnly="{Binding IsEdit,Converter={StaticResource not}}"    Width="40" />

                        </WrapPanel>
                        <WrapPanel>
                            <TextBlock Text="{Binding Source={Localization:Translate Word=速度:}}"/>
                            <ex:NumericBox  Text="{Binding APFBASMGE,Converter={StaticResource d1000}}" IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" Width="40"/>
                            <SD:K9320 KEY="{Binding APFME,ElementName=TV}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"/>
                            <ex:NumericBox  Text="{Binding APFME}" IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" Width="40"/>
                            <ex:NumericBox  Text="{Binding APFPERSANZ}" IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" Width="40"/>
                            <SD:K0514 KEY="{Binding APFZE,ElementName=TV}"
                          IsEdit="{Binding IsEdit,ElementName=TV}"/>
                            <ex:TXT72  Text="{Binding APFZE}" IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" Width="40"/>
                            <ex:NumericBox  Text="{Binding APFZEITB,Converter={StaticResource d100}}" IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" Width="40"/>
                        </WrapPanel>
                    </StackPanel>
                    <Grid Grid.Row="0" Grid.Column="1">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <ATK:TAPARTK  Grid.Column="0"    Name="cAP05"    
                           IsEdit="{Binding IsEdit,ElementName=TV}"
                           IsSaved="{Binding IsSaved,ElementName=TV}"
                          ARTST="{Binding ARTST,ElementName=TV}"
                          EXAUF="{Binding KEY,ElementName=TV}" />
                        <ATE:TAPARTE Grid.Column="1"    IsAuto="True"   
                         EXAUF="{Binding KEY,ElementName=cAP05}"
                         VU1="{Binding VU1,ElementName=cAP05}"
                         IsEdit="{Binding IsEdit,ElementName=TV}"
                         IsSaved="{Binding IsSaved,ElementName=TV}"
                         />
                    </Grid>
                </Grid> 
            </TabItem>
            <TabItem Header="{Binding Source={Localization:Translate Word=预定义工艺}}">
                <me:TSHAP02 Grid.Row="1" Grid.Column="1"
                    x:Name="cSHAP02"
                    EXAUF="{Binding KEY,ElementName=TV}"/>
            </TabItem>
        </TabControl> 
        <DataGrid  Grid.Row="1"  Grid.Column="0"  
                   VerticalAlignment="Top"  
                   AutoGenerateColumns="False"
                   EnableRowVirtualization="False"
                   IsReadOnly="True"
                   VerticalScrollBarVisibility="Auto"
                   HorizontalScrollBarVisibility="Auto"
                   HeadersVisibility="Column"     
                   ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}" 
                   IsSynchronizedWithCurrentItem="True" 
                   x:Name="dlgMaster"  
                   RowDetailsVisibilityMode="Visible"  
                    >
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding APFAFOLGE}" Width="Auto"/>
                <DataGridTextColumn Binding="{Binding APFKSTKRS}" Width="Auto"/>
                <DataGridTextColumn Binding="{Binding APFKST}" Header="{Binding Source={Localization:Translate Word=成本中心}}" Width="Auto"/>
                <DataGridTextColumn Binding="{Binding APFAGANG}" Header="{Binding Source={Localization:Translate Word=操做}}" Width="60"/>
                <DataGridTextColumn  Binding="{Binding APFBZAGANG,Converter={StaticResource gb2312}}" Header="{Binding Source={Localization:Translate Word=步骤说明}}" Width="60"/>
                <DataGridTextColumn  Binding="{Binding APFZUSATZ1}" Header="{Binding Source={Localization:Translate Word=产出1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFZUSATZ2}" Header="{Binding Source={Localization:Translate Word=产出2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFZUSATZ3}" Header="{Binding Source={Localization:Translate Word=产出3}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFZUSATZ4}" Header="{Binding Source={Localization:Translate Word=产出4}}" Width="Auto"  Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFZUSATZ5}" Header="{Binding Source={Localization:Translate Word=产出5}}" Width="Auto"  Visibility="Collapsed"/>

                <DataGridTextColumn  Binding="{Binding APFNEGFBKL}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFFBKL1}" Header="{Binding Source={Localization:Translate Word=颜色组1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFFBKL2}" Header="{Binding Source={Localization:Translate Word=颜色组2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFFBKL3}" Header="{Binding Source={Localization:Translate Word=颜色组3}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFFBKL4}" Header="{Binding Source={Localization:Translate Word=颜色组4}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFFBKL5}" Header="{Binding Source={Localization:Translate Word=颜色组5}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFRZUSA}" Header="{Binding Source={Localization:Translate Word=设置组}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFNEGRGRP}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red"  Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFRUESTGRP1}" Header="{Binding Source={Localization:Translate Word=设置1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFRUESTGRP2}" Header="{Binding Source={Localization:Translate Word=设置2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFRUESTGRP3}" Header="{Binding Source={Localization:Translate Word=设置3}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFRUESTGRP4}" Header="{Binding Source={Localization:Translate Word=设置4}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFRUESTGRP5}" Header="{Binding Source={Localization:Translate Word=设置5}}" Width="Auto" Visibility="Collapsed"/>


                <DataGridTextColumn  Binding="{Binding APFNEGRGRP}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red"  Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFSUBSTGR1}" Header="{Binding Source={Localization:Translate Word=材质1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFSUBSTGR2}" Header="{Binding Source={Localization:Translate Word=材质2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFSUBSTGR3}" Header="{Binding Source={Localization:Translate Word=材质3}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFSUBSTGR4}" Header="{Binding Source={Localization:Translate Word=材质4}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFSUBSTGR5}" Header="{Binding Source={Localization:Translate Word=材质5}}" Width="Auto" Visibility="Collapsed"/>

                <DataGridTextColumn  Binding="{Binding APFNEGGEW}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red"  Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFGEW1}" Header="{Binding Source={Localization:Translate Word=克重1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFGEW2}" Header="{Binding Source={Localization:Translate Word=克重2}}" Width="Auto"/>

                <DataGridTextColumn  Binding="{Binding APFNEGBHDLG}" Header="{Binding Source={Localization:Translate Word=是/否}}" Foreground="Red"  Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG1}" Header="{Binding Source={Localization:Translate Word=经密1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG2}" Header="{Binding Source={Localization:Translate Word=经密2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG3}" Header="{Binding Source={Localization:Translate Word=经密3}}" Width="Auto"  Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG4}" Header="{Binding Source={Localization:Translate Word=经密4}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG5}" Header="{Binding Source={Localization:Translate Word=经密5}}" Width="Auto" Visibility="Collapsed"/>

                <DataGridTextColumn  Binding="{Binding APFNEGBHDLG2}" Header="{Binding Source={Localization:Translate Word=是/否}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG21}" Header="{Binding Source={Localization:Translate Word=长短纤1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG22}" Header="{Binding Source={Localization:Translate Word=长短纤2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG23}" Header="{Binding Source={Localization:Translate Word=长短纤3}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG24}" Header="{Binding Source={Localization:Translate Word=长短纤4}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG25}" Header="{Binding Source={Localization:Translate Word=长短纤5}}" Width="Auto" Visibility="Collapsed"/>

                <DataGridTextColumn  Binding="{Binding APFNEGBHDLG3}" Header="{Binding Source={Localization:Translate Word=是/否}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG31}" Header="{Binding Source={Localization:Translate Word=组织1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG32}" Header="{Binding Source={Localization:Translate Word=组织2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG33}" Header="{Binding Source={Localization:Translate Word=组织3}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG34}" Header="{Binding Source={Localization:Translate Word=组织4}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG35}" Header="{Binding Source={Localization:Translate Word=组织5}}" Width="Auto" Visibility="Collapsed"/>

                <DataGridTextColumn  Binding="{Binding APFNEGBHDLG4}" Header="{Binding Source={Localization:Translate Word=是/否}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG41}" Header="{Binding Source={Localization:Translate Word=上浆1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG42}" Header="{Binding Source={Localization:Translate Word=上浆2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG43}" Header="{Binding Source={Localization:Translate Word=上浆3}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG44}" Header="{Binding Source={Localization:Translate Word=上浆4}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFBHDLG45}" Header="{Binding Source={Localization:Translate Word=上浆5}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFNEGMERK1}" Header="{Binding Source={Localization:Translate Word=是/否}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFMERK11}" Header="{Binding Source={Localization:Translate Word=紧度1}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFMERK12}" Header="{Binding Source={Localization:Translate Word=紧度2}}" Width="Auto"/>
                <DataGridTextColumn  Binding="{Binding APFMERK13}" Header="{Binding Source={Localization:Translate Word=紧度3}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFMERK14}" Header="{Binding Source={Localization:Translate Word=紧度4}}" Width="Auto" Visibility="Collapsed"/>
                <DataGridTextColumn  Binding="{Binding APFMERK15}" Header="{Binding Source={Localization:Translate Word=紧度5}}" Width="Auto" Visibility="Collapsed"/>
            </DataGrid.Columns>
        </DataGrid  >
        <Expander   Grid.Row="2"  Header="{Binding Source={Localization:Translate Word=自定义步骤条件}}" IsExpanded="False" >
            <me:TUIAP43   Grid.Row="2"  
            IsEdit="{Binding IsEdit,ElementName=TV}"
            IsSaved="{Binding IsSaved,ElementName=TV}"
            />
        </Expander> 
    </Grid>
</me:UIAPFOLGE>
